<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html lang="zh-CN">
  <head>
    <base href="<%=basePath%>">
    
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <title>企业认证</title>
    
	<link href="lib/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet">
	<link href="lib/font-awesome-4.5.0/css/font-awesome.min.css" rel="stylesheet">
	
	<link href="designCloud/css/common.css" rel="stylesheet"></link>
	<link href="designCloud/css/console.css" rel="stylesheet"></link>
	
	<script src="lib/jquery/1.11.3/jquery.min.js"></script>
	<script src="lib/bootstrap-3.3.5/js/bootstrap.min.js"></script>
	
	<!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
  </head>
  
  <body class="console-body">
  	<jsp:include page="console.jsp"></jsp:include>
  
  	<div class="console-list">
  		<div class="console-listSolid">&nbsp;</div>
  		<div class="approve-formContent">
  			<form action="" method="post">
  				<div class="approve-title">企业用户认证</div>
				<ul class="approve-contentBox af-contentBox">
					<li><span>手机号：</span>17767158673</li>
					<li><span>公司名称：</span>赵四设计公司</li>
					<li><span>公司地址：</span>浙江省杭州市教工路1号</li>
					<li><span>联系人：</span>赵四</li>
					<li><span>公司固话：</span>0571-88888888</li>
					<li><span>成立时间：</span>2016</li>
					<li><span>公司规模：</span>50人以下</li>
					<li><span>营业执照：</span><div class="approve-imgBox"><img src="images/test.jpg"/></div></li>
				</ul>
				
				<ul class="approve-btnBar">
					<li><a class="btn approve-btn" href="javascript:;" role="button">取消</a></li>
					<li><a id="ap-nopassBtn" class="btn approve-btn" href="javascript:;" role="button">认证不通过</a></li>
					<li><a class="btn approve-btn" href="javascript:;" role="button">认证通过</a></li>
				</ul>
  			</form>
  		</div>
  	</div>
  	
	<!-- Modal -->
	<div class="modal fade bs-example-modal-sm" id="ap-nopassModal" tabindex="-1" role="dialog" aria-labelledby="ap-nopassModalLabel" data-backdrop="static">
	  <div class="modal-dialog modal-sm" role="document">
	    <form action="">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        <h4 class="modal-title" id="myModalLabel">审核理由</h4>
		      </div>
		      
		      <div class="modal-body console-modalBody">
		        <textarea placeholder="不通过的理由..." cols="34" rows="5"></textarea>
		      </div>
		      
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		        <button type="submit" class="btn btn1">确定</button>
		      </div>
		    </div>
	     </form>
	  </div>
	</div>
	
	
	<script type="text/javascript">
		$(document).ready(function(){
			modalSwitch();
		});
		
		function modalSwitch(){
			$("#ap-nopassBtn").click(function(){
				$("#ap-nopassModal").modal('show');
			});
		}
	</script>
	
  </body>
</html>
